package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 转储任务表
 * </p>
 *
 * @author Wayne
 * @since 2021-06-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WHS_DUMP")
@ApiModel(value="WhsDump对象", description="转储任务表")
public class WhsDump implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "转储任务UUID")
    @TableId("WHS_DUMP_UUID")
    private String whsDumpUuid;

    @ApiModelProperty(value = "转储任务单号")
    @TableField("WHS_DUMP_NO")
    private String whsDumpNo;

    @ApiModelProperty(value = "货物类型")
    @TableField("GOODS_TYPE")
    private String goodsType;

    @ApiModelProperty(value = "业务标识")
    @TableField("BUSINESS_TYPE")
    private String businessType;

    @ApiModelProperty(value = "转出工厂代码")
    @TableField("WERKS_DUMP_OUT")
    private String werksDumpOut;

    @ApiModelProperty(value = "转出仓库代码")
    @TableField("WHS_LOCATION_CODE_DUMP_OUT")
    private String whsLocationCodeDumpOut;

    @ApiModelProperty(value = "转出备注信息")
    @TableField("DUMP_OUT_REMARK")
    private String dumpOutRemark;

    @ApiModelProperty(value = "创建人工号")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_DATE")
    private String createDate;

    @ApiModelProperty(value = "转出执行人")
    @TableField("DUMP_OUT_OPERATOR")
    private String dumpOutOperator;

    @ApiModelProperty(value = "转出完成日期")
    @TableField("DUMP_OUT_DATE")
    private String dumpOutDate;

    @ApiModelProperty(value = "SPMS转储单据状态（0删除；1草稿；2转出可执行；3转出提交spms；4转出提交SAP-计算库存；5转出提交SAP失败；6转入可执行；7转入提交spms；8转入提交SAP-计算库存；9转入提交SAP失败；）")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "转出提交SAP日期/过账日期")
    @TableField("DUMP_OUT_SAP_DATE")
    private String dumpOutSapDate;

    @ApiModelProperty(value = "SAP转储订单号/采购凭证号")
    @TableField("SAP_DUMP_OUT_NO")
    private String sapDumpOutNo;

    @ApiModelProperty(value = "SAP交货单号")
    @TableField("SAP_DELIVERY_NOTE")
    private String sapDeliveryNote;

    @ApiModelProperty(value = "SAP转出物料凭证号")
    @TableField("SAP_WHS_OUT_NO")
    private String sapWhsOutNo;

    @ApiModelProperty(value = "转入工厂代码/客户编号")
    @TableField("WERKS_DUMP_IN")
    private String werksDumpIn;

    @ApiModelProperty(value = "转入仓库代码")
    @TableField("WHS_LOCATION_CODE_DUMP_IN")
    private String whsLocationCodeDumpIn;

    @ApiModelProperty(value = "转入备注信息")
    @TableField("DUMP_IN_REMARK")
    private String dumpInRemark;

    @ApiModelProperty(value = "转入执行人")
    @TableField("DUMP_IN_OPERATOR")
    private String dumpInOperator;

    @ApiModelProperty(value = "转入完成日期")
    @TableField("DUMP_IN_DATE")
    private String dumpInDate;

    @ApiModelProperty(value = "SAP转入物料凭证号")
    @TableField("SAP_WHS_IN_NO")
    private String sapWhsInNo;

    @ApiModelProperty(value = "供应商编码")
    @TableField("SUPPLIER_CODE")
    private String supplierCode;

    @ApiModelProperty(value = "凭证类型/订单类型(采购)ZC09")
    @TableField("VOUCHER_TYPE")
    private String voucherType;

    @ApiModelProperty(value = "采购组")
    @TableField("PURCHASE_GROUP")
    private String purchaseGroup;

    @ApiModelProperty(value = "采购组织")
    @TableField("PURCHASE_ORG")
    private String purchaseOrg;

    @ApiModelProperty(value = "退货标识")
    @TableField("RETURN_MARK")
    private String returnMark;

    @ApiModelProperty(value = "备注信息")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "转入提交SAP日期")
    @TableField("DUMP_IN_SAP_DATE")
    private String dumpInSapDate;

    @ApiModelProperty(value = "项目交货日期")
    @TableField("DELIVERY_DATE")
    private String deliveryDate;

    @ApiModelProperty(value = "撤销SAP凭证号")
    @TableField("CANCEL_VOUCHER_NUMBER")
    private String cancelVoucherNumber;

    @ApiModelProperty(value = "撤销SAP过账日期")
    @TableField("CANCEL_POSTING_DATE")
    private String cancelPostingDate;

    @ApiModelProperty(value = "撤销SAP凭证年份")
    @TableField("CANCEL_VOUCHER_YEAR")
    private String cancelVoucherYear;

    @ApiModelProperty(value = "SAP转出物料凭证年份/获取DN时")
    @TableField("SAP_WHS_OUT_YEAR")
    private String sapWhsOutYear;
}
